package com.zenith.api.po.dto.edu;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduChapterDTO", description = "章节DTO")
public class EduChapterDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "所属课程ID")
    private Long courseId;
    
    @Schema(description = "父章节ID，0-根章节")
    private Long parentId;
    
    @Schema(description = "章节标题")
    private String title;
    
    @Schema(description = "排序权重")
    private Integer sortOrder;
    
    @Schema(description = "层级深度")
    private Integer depth;
    
    @Schema(description = "状态：1-正常 2-禁用")
    private Integer status;
}